.foxui-dialog__wrapper {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
    margin: 0;

    .foxui-dialog {
        position: relative;
        margin: 0 auto 50px;
        background: $--color-white;
        border-radius: $--border-radius-small;
        box-shadow: $--box-shadow-base;
        box-sizing: border-box;
        width: 50%;

        .foxui-dialog__header {
            padding: 20px 20px 10px;

            .foxui-dialog__title {
                line-height: $--font-line-height-primary;
                font-size: $--font-size-large;
                color: $--color-text-primary;
            }

            .foxui-dialog__header-close {
                position: absolute;
                top: 20px;
                right: 20px;
                padding: 0;
                background: transparent;
                border: none;
                outline: none;
                cursor: pointer;
                font-size: $--font-size-medium;
                height: auto;
            }
        }

        .foxui-dialog__body {
            padding: 30px 20px;
            color: $--color-text-regular;
            font-size: $--font-size-base;
            word-break: break-all;

            img {
                max-width: 100%;
            }
        }

        .foxui-dialog__footer {
            padding: 10px 20px 20px;
            text-align: right;
            box-sizing: border-box;

            button {
                &:not(:last-child) {
                    margin-right: 10px;
                }
            }
        }
    }
}
